package org.ehe.business.project.domain.vo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.ehe.business.project.domain.ProjectEntity;
import org.ehe.business.project.domain.ProjectSolution;
import org.ehe.system.domain.vo.SysOssVo;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author :zhangnn
 * @className :ProjectSolutionVO
 * @description: TODO
 * @date 2025-07-25 13:09:55
 */
@Data
@AutoMapper(target = ProjectSolution.class)
public class ProjectSolutionVO {
    private Long id;

    private Long projectId;

    private String projectName;

    /**
     * 方案名称
     */
    private String solutionName;

    /**
     * 方案附件ids
     */
    private String solutionFiles;

    private String version;

    private String status;

    private String statusName;

    private List<SysOssVo> ossVo;

    /**
     * 有效时常（小时）
     */
    private int estimatedHours;

    /**
     * 是否超期（0否  1是）
     */
    private String isOverdue;

    /**
     * 审核时间
     */
    private LocalDateTime auditTime;

    /**
     * 审核人
     */
    private String auditUser;

    /**
     * 截止时间
     */
    private LocalDateTime deadlineTime;

    /**
     * 响应截止时间
     */
    private LocalDateTime isOverdueEndTime;

    /**
     * 审核状态
     *      PENDING_SUBMIT(0,"待提交"),
     *     SUBMITTED(1,"已提交"),
     *     REJECTED(9,"已拒绝"),
     *     PROCESS(10, "审核中"), // 审核中
     *     APPROVE(20, "已审核"); // 审核通过
     */
    private String approveStatus;
}
